package org.eiahe.hr.employeeRelation.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ehe.system.domain.HrEmployee;
import org.eiahe.hr.employeeRelation.domain.ContractRenewalApplication;

import java.util.Date;

/**
 * 续签申请视图对象
 *
 * @author zhangnn
 */
@Data
@AutoMapper(target = ContractRenewalApplication.class)
public class ContractRenewalApplicationVo {

    /**
     * 申请ID（表字段为 id）
     */
    private Long applicationId;

    /**
     * 合同ID
     */
    private Long contractId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 续签原因
     */
    private String renewalReason;

    /**
     * 续签期限（月）
     */
    private Integer renewalPeriod;

    /**
     * 新到期时间
     */
    private Date newExpireDate;

    /**
     * 审批状态（0-待审批 1-已通过 2-已拒绝 3-已撤回）
     */
    private String approvalStatus;

    /**
     * 审批人ID
     */
    private Long approverId;

    /**
     * 审批时间
     */
    private Date approvalTime;

    /**
     * 审批意见
     */
    private String approvalRemark;

    /**
     * 创建时间
     */
    private Date createTime;

    //private HrEmployee employee;
}
